Skip to content

Conversation

@sl1pm4t
Copy link
Contributor

@sl1pm4t sl1pm4t commented Oct 6, 2025

This pull request updates the Kubernetes image build process to support specifying the target architecture and to handle special cases for Flatcar ARM64 builds. It also bumps the default Kubernetes version and improves flexibility in the build scripts.

Build process improvements:

  • Added support for specifying the TARGET_ARCH environment variable in both the GitHub Actions workflow (.github/workflows/image-ami-builds.yaml) and the build script (images/capi/update_k8s_version.sh). This enables building images for different architectures, such as amd64 and arm64. [1] [2]
  • Updated the script logic to handle a special case for Flatcar on ARM64 by selecting the correct Packer template file (flatcar-arm64.json) when building for this combination.

Version update:

  • Bumped the default Kubernetes version from 1.31.4 to 1.31.13 in the build script (images/capi/update_k8s_version.sh).

@s3than s3than merged commit 703331a into main Oct 6, 2025
5 checks passed
@sl1pm4t sl1pm4t deleted the ditto/fix-flatcar-arm64-k8s-version branch October 6, 2025 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants